package com.basic.sys.domain;

import java.text.SimpleDateFormat;
import java.util.Date;

public class PressureBo {

    private String lowPressure;
    private String midPressure;
    private String highPressure;
    private Date time;
    private String timeStr;
    private String stationName;


    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getLowPressure() {
        if (this.getTime() != null) {
            String dateStr = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.getTime());
            this.timeStr = dateStr;
        }
        return lowPressure;
    }

    public void setLowPressure(String lowPressure) {
        this.lowPressure = lowPressure;
    }

    public String getMidPressure() {
        return midPressure;
    }

    public void setMidPressure(String midPressure) {
        this.midPressure = midPressure;
    }

    public String getHighPressure() {
        return highPressure;
    }

    public void setHighPressure(String highPressure) {
        this.highPressure = highPressure;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getTimeStr() {
        return timeStr;
    }

    public void setTimeStr(String timeStr) {
        this.timeStr = timeStr;
    }
}
